home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1995 May / PC Answers CD-ROM 7 (Future Publishing) (May 1995).iso / vbits / code / swanson / graphics.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-01-06  |  15.2 KB  |  99 lines

  1. Graphics
  2. Graphics
  3. Form15G
  4. Picture1
  5.     cmdRedraw
  6. &Redraw
  7. lstRedrawType
  8. Frame1
  9. Graphic
  10. optGraphicType
  11. Metafile
  12. optGraphicType
  13. Bitmap
  14. lblTime
  15. Time:
  16. MS Sans Serif
  17. imgMetafile
  18. Microsoft Draw
  19. System
  20.         imgBitmap
  21.     Container
  22.     Form_Load
  23. Cell5
  24. Visible
  25. Form_Resize
  26. ReSizeCells1
  27. Caption
  28. ScaleWidth
  29. ScaleHeight
  30. ReSizeCells2
  31.     cellwidth
  32. cellheightc
  33.     Container
  34. ReSizeCells3
  35. Visibel
  36. ReSizeCells4V
  37. lstRedrawType
  38. ReSizeCells5
  39. Visble
  40. Form_Paint
  41. Container_Click
  42. cell_Click
  43. Index
  44. Frame1_DragDrop
  45. Source
  46. Control
  47.     ListIndex
  48. ReDraw
  49. cmdRedraw_Click
  50. ReSizeCells0
  51. ReSizeCellsE
  52. optGraphicType_Click
  53. Picture
  54. imgMetaFile
  55.     imgBitmap
  56. Height
  57. screen
  58. MousePointer
  59. WindowState
  60. Start
  61. Finish
  62. lblTime
  63. lstRedrawType_Click
  64. Width
  65.     iFormLoad
  66.  Take a look at the various ReSizeCells general procedures.
  67.  Also, try changing the Stretch property of the Cell control.
  68. cmdRedraw_Click
  69. Form_Load
  70.  Signals no paint on form load.o
  71.  Center the form
  72. Load the listbox
  73. Naive
  74. Using Variables
  75. With Each Image Invisible
  76. Making Container Invisible
  77. Form_Resize
  78.  Don't do anything when minimizedo
  79.  Reset the flag so we redraw next time.n
  80. optGraphicType_Click
  81.  Make container invisible while loading pictures.u
  82.  Try commenting out those lines to see speed difference.
  83. ReDraw
  84. Time: 
  85. 0.000
  86.  Sec.
  87. ReSizeCells0
  88.  Naive code to resize and redraw graphic cells.
  89. ReSizeCells1
  90.  Improved code: replace constant expressions with variables
  91.  and use variables instead of properties.o
  92. ReSizeCells2
  93.  More improved code: make each Image control invisible
  94.  during the move; this improves paint speed.
  95. ReSizeCells3
  96.  Fastest code: make container invisible while moving and sizing
  97.  all contained Images.  Only one paint occurs.
  98. Container.Refreshh
  99.